<template>
  <div>
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/jsx">JSX</router-link> |
      <router-link to="/tongxin">组件通信</router-link> | 
      <router-link to="/virtualList">虚拟列表</router-link>
    </div>
    <router-view />
  </div>
</template>

<style lang="stylus">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  color: #2c3e50;
}
</style>
